package com.kaifamiao.proxy;

/**
 * @author lucien-ma
 * @date 2021/8/27
 * @apiNote
 */
public class Actor implements IActor {

    private String name;

    public Actor(String name){
        this.name = name;
    }

    @Override
    public void basic(double money) {
        System.out.println(String.format("%s 收了%f元进行了普通表演", name, money));
    }

    @Override
    public void danger(double money) {
        System.out.println(String.format("%s 收了%f元进行了一些高难度极具危险性的表演", name, money));
    }
}
